package com.chalk.mall.demo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author xiaoqiang
 * @Description 商品
 * @date 2019/3/1 11:25
 */
@Data
@TableName("goods")
public class Goods {
    private Long id;
    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_title")
    private String goodsTitle;

    @TableField("goods_img")
    private String goodsImg;

    @TableField("goods_detail")
    private String goodsDetail;

    @TableField("goods_price")
    private Double goodsPrice;

    @TableField("goods_stock")
    private Integer goodsStock;
}
